{extend name="common/main"}

{block name="head"}

{include file="common/head"}

{/block}

{block name="content"}

<link href="__STATIC__/home/css/index.css" rel="stylesheet" type="text/css" />

<div class="contentmain">

  <!--新闻动态-->
  <div class="tszldiv">
    <div class="tszl_title"> <span class="tszl_big">新闻动态</span><span class="tszl_small">NEWS</span> </div>
    <div class="tszl_icon"><img src="__STATIC__/home/images/tilte_icon.png"></div>
    <div class="new_con">
      <div class="infor_banner Fleft">
        <ul>
          {volist name="news" id='vo' offset="0" length="5" empty=""}
          <li><a href="{:url('home/news/detail', ['id' => $vo['id']])}"><img src="{$vo.thumb}" width="588" height="402" alt="{$vo.title}" /></a></li>
          {/volist}
        </ul>
      </div>
      <div class="new_list Fright">
        <ul>
          {volist name="news" id="vo" offset="5"  length="5" empty=""}
          <a href="{:url('home/news/detail', ['id' => $vo['id']])}">
          <li>
            <div class="new_time Fleft">
              <h3><b>{$vo.createtime|date='m', ###}/</b>{$vo.createtime|date='d', ###}</h3>
              <p>{$vo.createtime|date='Y', ###}</p>
            </div>
            <div class="new_font Fright">
              <h3>{$vo.title}</h3>
              <p>{$vo.description|mb_substr=0,100,'utf8'}</p>
            </div>
          </li>
          </a>
          {/volist}
        </ul>
      </div>
    </div>
  </div>

  <!--特色诊疗-->
  <div class="tszldiv">
    <div class="tszl_title"> <span class="tszl_big">特色诊疗</span><span class="tszl_small">CHARACTERISTICS OF DIAGNOSIS AND TREATMENT</span> </div>
    <div class="tszl_icon"><img src="__STATIC__/home/images/tilte_icon.png"></div>
    <div class="tszl_list">
      <div id="tszl_list_gd">
        <ul>
          {volist name="characteristics" id='vo' offset="0" length="" empty=""}
          <li>
            <div class="tszl_pic">
              <a href="javascript:;" class="pp" data-m="characteristic" data-id="{$vo.id}"><img src="{$vo.thumb}"></a>
            </div>
            <div class="tszl_font">
              <h3><a href="javascript:;" class="pp" data-m="characteristic" data-id="{$vo.id}">{$vo.title}</a></h3>
              <p><a href="javascript:;" class="pp" data-m="characteristic" data-id="{$vo.id}">{$vo.desc}</a></p>
            </div>
            <div class="tszl_bottom">
              <div class="tszl_time Fleft">{$vo.createtime|date='Y-m-d', ###}</div>
              <div class="tszl_text Fright">{$vo.desc}</div>
            </div>
          </li>
          {/volist}
        </ul>
      </div>
    </div>
    <div id="tszl"> <a class="tszl_prev" href="javascript:void();">Previous</a><a class="tszl_next" href="javascript:void();">Next</a> </div>
  </div>
  
  <!--传承人-->
  <div class="tszldiv por">
    <div class="tszl_title"> <span class="tszl_big">传承人</span><span class="tszl_small">INHERITANCE PEOPLE</span> </div>
    <div class="tszl_icon"><img src="__STATIC__/home/images/tilte_icon.png"></div>
    <div class="infor-nav">
      <ul>
        <li class="active"></li>
        <li></li>
        <li></li>
      </ul>
    </div>
    <div class="infor-con">
      <div class="swiper-container inforSwiper">
        <div class="swiper-wrapper">
          {volist name="clients" id='vo' offset="0" length="" empty=""}
          <div class="swiper-slide">
            <div class="ccr_content">
              <div class="ccr_pic Fleft">
                <div class="ccr_img">
                  <a href="javascript:;" class="pp" data-m="client" data-id="{$vo.id}">
                  <img src="{$vo.avatar}">
                  </a>
                </div>
              </div>
              <div class="ccr_con Fright">
                <div class="ccr_con_title">
                  <div class="ccr_con_font Fleft">{$vo.truename}</div>
                  <div class="ccr_con_text Fright">
                    <h3>{$vo.title}</h3>
                    <p>{$vo['honors'][0]}</p>
                  </div>
                </div>
                <div class="ccr_con_middle">
                  <div class="ccr_con_ry Fleft">
                    <div class="ccr_con_ry_title">个人荣誉</div>
                    {notempty name="vo.honors"}
                    <div class="ccr_con_ry_list">
                      <ul>
                        {volist name="vo.honors" id='voo' offset="0" length="3" empty=""}
                        <li>{$voo}</li>
                        {/volist}
                      </ul>
                    </div>
                    {/notempty}
                  </div>
                  <div class="ccr_con_ry Fright">
                    <div class="ccr_con_ry_title">个人简历</div>
                    <div class="ccr_con_jl">{$vo.desc|mb_substr=0,100,'utf8'}</div>
                  </div>
                </div>
                {notempty name="vo.cert_imagess"}
                <div class="ccr_con_list">
                  <ul>
                    {volist name="vo.cert_imagess" id='voo' offset="0" length="4" empty=""}
                    <li>
                      <div class="ccr_con_pic"><img src="{$voo}"></div>
                    </li>
                    {/volist}
                  </ul>
                </div>
                {/notempty}
              </div>
            </div>
          </div>
          {/volist}
        </div>
      </div>
    </div>
  </div>

  <!--all-->
  <div class="tszldiv all">
    <div class="all_title f16px">
      <ul>
        <li class="all_cur"><a href="{:url('home/clinic/index')}">临床病案</a></li>
        <li><a href="{:url('home/courseware/index')}">学习课件</a></li>
        <li><a href="{:url('home/prescription/index')}">民族医药单方</a></li>
        <li><a href="{:url('home/demonstration/index')}">推广示范点</a></li>
      </ul>
    </div>
    <div class="all_content">
      <ul>
        <li>
          <div class="all_left Fleft">
            {volist name="clinics" id="vo" offset="0" length="1" empty=""}
            <a href="javascript:;" class="pp" data-m="clinic" data-id="{$vo.id}">
            <div class="all_float all_bo">{$vo.title}</div>
            <img src="{$vo.thumb}">
            </a>
            {/volist}
          </div>
          <div class="all_right Fright">
            <dl>
              {volist name="clinics" id="vo" offset="1" length="4" empty=""}
              <dd><a href="javascript:;" class="pp" data-m="clinic" data-id="{$vo.id}">
                <div class="all_float">{$vo.title}</div>
                <img src="{$vo.thumb}"></a>
              </dd>
              {/volist}
            </dl>
          </div>
        </li>
        <li style="display:none;">
          <div class="all_left Fleft">
            {volist name="coursewares" id="vo" offset="0" length="1" empty=""}
            <a href="javascript:;" class="pp" data-m="courseware" data-id="{$vo.id}" data-cid="{$vo.catid}">
            <div class="all_float all_bo">{$vo.title}</div>
            <img src="{$vo.thumb}">
            </a>
            {/volist}
          </div>
          <div class="all_right Fright">
            <dl>
              {volist name="coursewares" id="vo" offset="1" length="4" empty=""}
              <dd><a href="javascript:;" class="pp" data-m="courseware" data-id="{$vo.id}" data-cid="{$vo.catid}">
                <div class="all_float">{$vo.title}</div>
                <img src="{$vo.thumb}"></a>
              </dd>
              {/volist}
            </dl>
          </div>
        </li>
        <li style="display:none;">
          <div class="all_left Fleft">
            {volist name="prescriptions" id="vo" offset="0" length="1" empty=""}
            <a href="javascript:;" class="pp" data-m="prescription" data-id="{$vo.id}">
            <div class="all_float all_bo">{$vo.title}</div>
            <img src="{$vo.thumb}">
            </a>
            {/volist}
          </div>
          <div class="all_right Fright">
            <dl>
              {volist name="prescriptions" id="vo" offset="1" length="4" empty=""}
              <dd><a href="javascript:;" class="pp" data-m="prescription" data-id="{$vo.id}">
                <div class="all_float">{$vo.title}</div>
                <img src="{$vo.thumb}"></a>
              </dd>
              {/volist}
            </dl>
          </div>
        </li>
        <li style="display:none;">
          <div class="all_left Fleft">
            {volist name="demonstrations" id="vo" offset="0" length="1" empty=""}
            <a href="javascript:;" class="pp" data-m="demonstration" data-id="{$vo.id}">
            <div class="all_float all_bo">{$vo.title}</div>
            <img src="{$vo.thumb}">
            </a>
            {/volist}
          </div>
          <div class="all_right Fright">
            <dl>
              {volist name="demonstrations" id="vo" offset="1" length="4" empty=""}
              <dd><a href="javascript:;" class="pp" data-m="demonstration" data-id="{$vo.id}">
                <div class="all_float">{$vo.title}</div>
                <img src="{$vo.thumb}"></a>
              </dd>
              {/volist}
            </dl>
          </div>
        </li>
      </ul>
    </div>
  </div>

  <!--药品库-->
  <div class="tszldiv">
    <div class="tszl_title"> <span class="tszl_big">药品库</span><span class="tszl_small">PHARMACY WAREHOUSES</span> </div>
    <div class="tszl_icon"><img src="__STATIC__/home/images/tilte_icon.png"></div>
    <div class="drug_list">
      <div id="drug">
        <ul>
          {volist name="drugs" id='vo' offset="0" length="" empty=""}
          <li>
            <div class="drug_pic"><a href="javascript:;" class="pp" data-m="drug" data-id="{$vo.id}"><img src="{$vo.thumb}"></a></div>
            <div class="drug_font">
              <h3>{$vo.title}</h3>
              <p class="drug_text">{$vo.desc}</p>
              <p class="drug_more"><a href="{:url('home/drug/detail', ['id' => $vo['id']])}">查看更多>></a></p>
            </div>
          </li>
          {/volist}
        </ul>
      </div>
    </div>
    <div id="drug"> <a class="drug_prev" href="javascript:void();">Previous</a><a class="drug_next" href="javascript:void();">Next</a> </div>
  </div>

</div>
{/block}

{block name="footer"}

{include file="common/footer"}

{/block}